home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / comm / www / supercache.lha / aweb_cache_img < prev    next >
Text File  |  1997-05-01  |  1KB  |  47 lines

  1. ;SuperCache By Cj Schnurr Scripty@tao.u-net.com
  2. ;DESCRIPTION
  3. ;part of a set of files for keeping tabs on Web browsers caches
  4. ;
  5. ;
  6. ;Installation : 
  7. ;==============
  8. ;For each of the scripts, a little manual editting is
  9. ;required for your own specific system.
  10. ;
  11. ;change the text :-
  12. ;
  13. ;        data:memory/Aweb 
  14. ;
  15. ;To the location of your Aweb Cache Directory
  16. ;
  17. ;change the text :-
  18. ;        www:
  19. ;
  20. ;To where you want to put the html files built. (or assign www: to where
  21. ;you want it to go duh 8-)
  22. ;
  23. ;
  24. ;tell the user what's happening
  25. ;
  26. echo "compiling list..."
  27. ;
  28. ;
  29. ;
  30. ;
  31. ;do a long LIST command , using the LFORMAT option.
  32. ;
  33. ;
  34. list data:memory/Aweb  P=#?.(gif|jpg|jpeg|mpeg|mpg) LFORMAT "<UL><STRONG>%c</STRONG><LI><A HREF=*"%c*">Remote Site  </A><LI> <A HREF=*"file://localhost/%f%n*"> Local Site</A></UL>" All >www:Aweb_cache_unsorted
  35. ;
  36. ;tell the user a bit more
  37. echo "Sorting...."
  38. ;
  39. ;do a nice sort
  40. sort FROM www:Aweb_cache_unsorted TO www:Aweb_Image_cache.html
  41. ;
  42. ;tell the user finished
  43. echo "done"
  44. ;
  45. ;oops! deleted unsorted file
  46. delete www:Aweb_cache_unsorted ALL QUIET
  47.